package model.action;

import java.util.List;
import datacontainer.ImmuTable;


/**
 * Sums each column in the table (if column is summable).
 * For columns that aren't summable, resulting sum is "".
 * Class will add a summation row as the last row in the data table.
 * 
 * @author Michael Deng
 * 
 */
public class SumColumnTable extends TableAction {

    @Override
    public void setInput (String column, List<String> conditions) {
        super.setInput(column, conditions);
    }

    @Override
    public void execute (ImmuTable workSpace, ImmuTable rawData) {
        sumColumnTableAction(workSpace);
    }
}
